<?php

namespace App\Models\Home;

use Illuminate\Database\Eloquent\Model;

class Weibo extends Model
{
    //禁用时间戳自动管理
    public $timestamps = false;

    protected $fillable = array('comment_num');

    //获取微博的评论
    public function comments()
    {
        return $this->hasMany('App\Models\Home\Comment');
    }

}
